package com.tedu.ds.order.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

@Data
public class OrderQuery {
    @ApiModelProperty(value = "订单id", example = "1")
    private Long id;

    @ApiModelProperty(value = "客户id", example = "1", required = true)
    private Long custId;

    @ApiModelProperty(value = "客户id集合", example = "1", required = true)
    private List<Long> custIds;

    @ApiModelProperty(value = "员工id", example = "1")
    private Long empId;

    @ApiModelProperty(value = "员工id集合", example = "1")
    private List<Long> empIds;

    @ApiModelProperty(value = "订单创建的时间", example = "2024-10-18 10:20:16")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GTM+8")
    private String createTime;

    @ApiModelProperty(value = "订单状态", example = "待支付")
    private String status;

    @ApiModelProperty(value = "支付状态", example = "未支付")
    private String payStatus;


    @ApiModelProperty(value = "服务id", example = "1")
    private Integer serviceId;

}
